package com.gildedrose.item;

public class Item {

    public String name;
    public int sellIn;  // 要在多少天之前把物品卖出去，即销售期
    public int quality; // 物品的品质

    public Item(String name, int sellIn, int quality) {
        this.name = name;
        this.sellIn = sellIn;
        this.quality = quality;
    }

   @Override
   public String toString() {
        return this.name + ", " + this.sellIn + ", " + this.quality;
    }
}
